package com.kingdee.eas.mx.exp.pl;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class ProfitLossCollection extends AbstractObjectCollection 
{
    public ProfitLossCollection()
    {
        super(ProfitLossInfo.class);
    }
    public boolean add(ProfitLossInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(ProfitLossCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(ProfitLossInfo item)
    {
        return removeObject(item);
    }
    public ProfitLossInfo get(int index)
    {
        return(ProfitLossInfo)getObject(index);
    }
    public ProfitLossInfo get(Object key)
    {
        return(ProfitLossInfo)getObject(key);
    }
    public void set(int index, ProfitLossInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(ProfitLossInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(ProfitLossInfo item)
    {
        return super.indexOf(item);
    }
}